﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PriceList.ascx.cs" Inherits="X.WebSite.Controls.PriceList" %>
<div class="pricerank-list">
    <div class="pricerank-title">
        <h2>
            Price</h2>
    </div>
    <div class="pricerank-item">
        <ul>
            <%
                System.Collections.Generic.IList<X.Entity.PriceInfo> list = X.Bll.Product.GetPriceList();

                for (int i = 0; i < list.Count; i++)
                {
                    Response.Write(string.Format("<li><a href=\"/Price-{0}-{1}.aspx\">${0}-${1}</a></li>", list[i].LowPrice, list[i].HightPrice));
                }
            %>
        </ul>
    </div>
</div>
